package beanstao.util.type.base;

import java.util.Calendar;

import beanstao.util.type.Castor;

public class Number2Calendar extends Castor<Number, Calendar>
{

	@Override
	public Calendar cast(Number src, Class<?> toType, String... args)
	{
		Calendar c = Calendar.getInstance();
		c.setTimeInMillis(src.longValue());
		return c;
	}

}
